POV-Ray : Newsgroups : povray.unofficial.patches : Bug in cpow? : Re: Bug in cpow? Server Time
2 Sep 2024 04:15:32 EDT (-0400)
  Re: Bug in cpow?  
From: Warp
Date: 17 May 2000 10:42:11
Message: <3922afc2@news.povray.org>
david sharp <dsh### [at] interportnet> wrote:
: The cpow function needs both arguments to be 'complex';
: To do Z^2 with cpow, you need to do cpow(Z,<2,0>)

  Ah, ok.
  I said this by mail already, but let me say it again here:
  It would be more intuitive if cpow() would accept either a float or
a complex.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.